package com.qiaofang.collectmanagebff.facade.request;

import com.qiaofang.collectmanage.stub.bean.UpdateElementRuleDTO;
import com.qiaofang.common.request.CommonRequest;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

public class UpdateElementRuleBffRequest extends CommonRequest {

    @ApiModelProperty(name = "ID")
    @NotNull(message = "id不能为空")
    private Integer id;

    @ApiModelProperty(name = "采集规则UID")
    private String collectRuleUuid;

    @ApiModelProperty(name = "采集深度")
    private Integer depth;

    @ApiModelProperty(name = "采集深度描述")
    private  String  depthDesc;

    @ApiModelProperty(name = "采集字段名称")
    private String fieldName;

    @ApiModelProperty(name = "定位元素")
    private String returnElement;

    @ApiModelProperty(name = "提取元素对应的值")
    private String returnElementValue;

    @ApiModelProperty(name = "对元素后续的值进行操作")
    private String returnValue;

    @ApiModelProperty(name = "更新人")
    private Long updatedUserId;

    private Integer deleted;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCollectRuleUuid() {
        return collectRuleUuid;
    }

    public void setCollectRuleUuid(String collectRuleUuid) {
        this.collectRuleUuid = collectRuleUuid;
    }

    public Integer getDepth() {
        return depth;
    }

    public void setDepth(Integer depth) {
        this.depth = depth;
    }

    public String getDepthDesc() {
        return depthDesc;
    }

    public void setDepthDesc(String depthDesc) {
        this.depthDesc = depthDesc;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getReturnElement() {
        return returnElement;
    }

    public void setReturnElement(String returnElement) {
        this.returnElement = returnElement;
    }

    public String getReturnElementValue() {
        return returnElementValue;
    }

    public void setReturnElementValue(String returnElementValue) {
        this.returnElementValue = returnElementValue;
    }

    public String getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(String returnValue) {
        this.returnValue = returnValue;
    }

    public Long getUpdatedUserId() {
        return updatedUserId;
    }

    public void setUpdatedUserId(Long updatedUserId) {
        this.updatedUserId = updatedUserId;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

}
